
// Get the path of the currently running do-file
local do_file_path `c(pwd)'

// Change the working directory to the location of the do-file
cd "`do_file_path'"

clear
use "proc_data\DIST_cmr2020-09-02.dta"

rename *, lower

drop dist2pri_cmr
rename dist2port_cmr dist2pri_cmr

keep if gid_0=="CMR"

label variable dist2cap_cmr "Distance to Yaounde"
label variable dist2pri_cmr "Distance to Douala"

save "proc_data\DIST_CMR.dta", replace
